﻿using System;

class Problem4
{
    static void Main(string[] args)
    {
        System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;

        int maxDimensions = int.Parse(Console.ReadLine());

        int row = 0;
        for (; row < maxDimensions/2; row++)
		{
            int column = 0;
            char prevSymbol = ' ';
            int dotsIndex = maxDimensions / 2 - 1-row;
            for (; column < maxDimensions/2 ; column++)
            {
                if (column < dotsIndex)
                {
                    Console.Write(".");
                }
                else
                {
                    if (prevSymbol == ' ')
                    {
                        Console.Write('/');
                        prevSymbol = '/';
                    }
                    else
                    {
                        Console.Write(' ');
                        prevSymbol = ' ';
                    }
                }
            }

            if (prevSymbol == '/')
            {
                prevSymbol = ' ';
            }
            else
            {
                prevSymbol = '\\';
            }
            
            dotsIndex = maxDimensions / 2 + row;
            for (; column < maxDimensions ; column++)
            {
                if (column > dotsIndex)
                {
                    Console.Write(".");
                }
                else
                {
                    if (prevSymbol == ' ')
                    {
                        Console.Write('\\');
                        prevSymbol = '\\';
                    }
                    else
                    {
                        Console.Write(' ');
                        prevSymbol = ' ';
                    }
                }

            }
            Console.WriteLine();

		}

        for (; row < maxDimensions; row++)
        {
            int column = 0;
            char prevSymbol = ' ';
            int dotsIndex = row - maxDimensions/2;

            for (; column < maxDimensions / 2; column++)
            {
                if (column < dotsIndex)
                {
                    Console.Write(".");
                }
                else
                {
                    if (prevSymbol == ' ')
                    {
                        Console.Write('\\');
                        prevSymbol = '\\';
                    }
                    else
                    {
                        Console.Write(' ');
                        prevSymbol = ' ';
                    }
                }
            }

            if (prevSymbol == '\\')
            {
                prevSymbol = ' ';
            }
            else
            {
                prevSymbol = '/';
            }

            dotsIndex = maxDimensions - (row - column)-1; 
            for (; column < maxDimensions; column++)
            {
                if (column > dotsIndex)
                {
                    Console.Write(".");
                }
                else
                {
                    if (prevSymbol == ' ')
                    {
                        Console.Write('/');
                        prevSymbol = '/';
                    }
                    else
                    {
                        Console.Write(' ');
                        prevSymbol = ' ';
                    }
                }

            }
            Console.WriteLine();
        }
    }
}
